package com.yingwei.mining.appletversion;

/**
 * Created by IntelliJ IDEA.
 * User: yingwei
 */
public class Instruction
{
    private Route route;
    private String message;
    
    public Instruction( String message, Route route)
    {
        this.setMessage(message);
        this.setRoute(route);
    }

    public Route getRoute() {
        return route;
    }

    public void setRoute(Route route) {
        this.route = route;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}